/**
 * 部门查看js
 */
var bespeakLook={
	init:function(){
		
		var id = art.dialog.data('id');
		
		var bespeakOrder = eval('(' + localStorage.getItem(id + "_Bespeak_Key") + ')');
		
		$("input[name='id']").val(bespeakOrder.col01id);
		$("input[name='bespeakStatus']").val(bespeakOrder.col04status);
		$("input[name='productName']").val(bespeakOrder.col12productName);
		$("input[name='productCompany']").val(bespeakOrder.col14productCompanyName);
		$("input[name='customerName']").val(bespeakOrder.col06userName);
		$("input[name='customerGender']").val(bespeakOrder.col07userAge );
		$("input[name='age']").val(bespeakOrder.col08userGender);
		$("input[name='custoerPhone']").val(bespeakOrder.col09userPhoneNum);
		$("input[name='amount']").val(bespeakOrder.col02amount);
		$("input[name='createTime']").val(bespeakOrder.col19cts);
		$("input[name='finicalName']").val(bespeakOrder.col16insideName);
		$("input[name='finicalphone']").val(bespeakOrder.col18insidePhoneNum);
		$("input[name='finicalDepName']").val(bespeakOrder.col17insideDepName);
		$("input[name='finicalId']").val(bespeakOrder.col15inside);
	}
}
$(document).ready(function() {
	bespeakLook.init();
});